<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jstl/core">

    <f:loadBundle basename="linguas.linguas" var="msg"/>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>
            <h:outputText value="#{msg.system}"/>
        </title>
        <link href="#{facesContext.externalContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
        <f:view>
            <!--main body start -->
            <div id="mainBody">
                <!--left side start -->
                <div id="leftPan">
                    <!--member start -->
                    <div id="member">
                        <p></p>
                        <ui:insert name="topo">
                            <h:form id="formLogin">
                                <h2><h:outputText value="#{msg.login_de_usuarios}"/></h2>
                                <label><h:outputText value="#{msg.usuario}"/></label>
                                <label><h:outputText value="#{msg.senha}"/></label>
                                <h:inputText value="#{loginBean.usuario}" class="try"/>
                                <h:inputSecret value="#{loginBean.senha}" class="try"/>
                                <input type="checkbox" name="checkSet1" id="check1" class="checkbox" value="foo" />
                                <label class="re"><h:outputText value="#{msg.lembrar_minha_senha}"/></label>
                                <h:commandButton styleClass="login" action="#{loginBean.acaoLogar}" />
                            </h:form>
                        </ui:insert>
                        <p class="buttom"></p>
                    </div>
                    <!--member end -->
                    <h2><h:outputText value="#{msg.system}"/></h2>
                    <!--contact form start -->
                    <div id="contact">
                        <p></p>
                        <h:form name="contatoForm">
                            <h2><h:outputText value="#{msg.sugestao}"/></h2>
                            <label><h:outputText value="#{msg.nome}:"/></label>
                            <h:inputText styleClass="try" value="#{emailBean.nomePessoaSugestao}" maxlength="90"/>
                            <label><h:outputText value="#{msg.email}:"/></label>
                            <h:inputText styleClass="try" value="#{emailBean.emailPessoaSugestao}" maxlength="90" />
                            <label class="comment"><h:outputText value="#{msg.comentario}:"/></label>
                            <h:inputTextarea styleClass="try" cols="" rows="" value="#{emailBean.comentarioSugestaoPessoa}"/>
                            <h:commandButton styleClass="submit" value="#{msg.enviar}" actionListener="#{emailBean.acaoEnviarSugestao}" />
                        </h:form>
                        <p class="bu"></p>
                    </div>
                    <!--contact form end -->
                    <div id="leftA">
                        <!--archives start -->
                        <div id="arch">
                            <span></span>
                            <h2><h:outputText value="#{msg.semana}"/></h2>
                            <c:forEach items="#{cardapioSemanaBean.cardapioSemanal}" var="dia" >
                                <h3><h:outputText value="#{msg[dia[0]]}"/></h3>
                                <ul>
                                    <c:forEach items="#{dia[1]}" var="cardap" >
                                        <li><a href="#"><h:outputText value="#{cardap.produto}"/></a></li>
                                    </c:forEach>
                                </ul>
                            </c:forEach>
                            <p></p>
                        </div>
                        <!--archive end -->
                    </div>
                    <br class="blank" />
                </div>
                <div id="rightPan">
                    <div id="rightsude">
                        <form name=" search" method="post" action="">
                            <h2><h:outputText value="#{msg.busca}"/></h2>
                            <label><h:outputText value="#{msg.entre_termo_busca}"/></label>
                            <inputText type="text" name="textbox" value="" />
                            <input type="checkbox" name="checkSet2" id="check2" class="checkbox1" value="foo" />
                            <label class="sea"><h:outputText value="#{msg.busca_avancada}"/></label>
                            <input type="button" name="go" value="" class="go" />
                        </form>
                        <span></span>
                    </div>
                    <div id="rightPan1">
                        <ui:insert name="menu_direito">
                            <ul>
                                <li><a href="/restaurante/home.xhtml" class="show"><h:outputText value="#{msg.home}"/></a></li>
                                <li><a href="/restaurante/pratos.xhtml"><h:outputText value="#{msg.pratos}"/></a></li>
                                <li><a href="/restaurante/chefes.xhtml"><h:outputText value="#{msg.chefes}"/></a></li>
                                <li><a href="/restaurante/promocoes.xhtml"><h:outputText value="#{msg.promocoes}"/></a></li>
                                <li><a href="/restaurante/eventos.xhtml"><h:outputText value="#{msg.eventos}"/></a></li>
                                <li><a href="/restaurante/contato.xhtml"><h:outputText value="#{msg.contato}"/></a></li>
                            </ul>
                        </ui:insert>
                        <h2>
                            <span>
                                <ui:insert name="boas_vindas_titulo_part1">
                                   Restaurante
                                </ui:insert>
                            </span>
                            <ui:insert name="boas_vindas_titulo_part2">
                                Delano's
                            </ui:insert>
                        </h2>
                        <p>
                            <ui:insert name="boas_vindas_texto">
                                <p>Seja Bem vindo ao Delano's Restaurante Utilize o Menu para Navegar pelo site Conheça nossos pratos e como eles são preparados.</p>
                            </ui:insert>
                        </p>
                        <ui:insert name="boas_vindas_link_leia_mais">
                        </ui:insert>

                    </div>
                </div>
                <br class="blank" />
            </div>
            <!--right side start -->
        <!--footer start -->
            <div id="footer" style="text-align:center;">
                <ui:insert name="lista_links_bottom">
                    <ul>
                        <li><a href="/restaurante/home.xhtml" class="show"><h:outputText value="#{msg.home}"/></a></li>
                        <li><a href="/restaurante/pratos.xhtml"><h:outputText value="#{msg.pratos}"/></a></li>
                        <li><a href="/restaurante/chefes.xhtml"><h:outputText value="#{msg.chefes}"/></a></li>
                        <li><a href="/restaurante/promocoes.xhtml"><h:outputText value="#{msg.promocoes}"/></a></li>
                        <li><a href="/restaurante/eventos.xhtml"><h:outputText value="#{msg.eventos}"/></a></li>
                        <li><a href="/restaurante/contato.xhtml"><h:outputText value="#{msg.contato}"/></a></li>
                    </ul>
                </ui:insert>
            </div>
            <!--footer end -->
        </f:view>
    </body>
</html>
